package 面向对象中级.课堂练习.Exercise05;

public class Test {
    //（3）在测试类中，分别创建两种卡对象，测试
    public static void main(String[] args) {
        DepositCard depositCard=new DepositCard("12345",10000);
        depositCard.save(1000);
        depositCard.withdraw(15000);
        System.out.println(depositCard.getInfo());
    }
}
